Client Certificate
A client SSL certificate.
Functions
Link copied to clipboard
Returns an array of bytes that represents the DER-encoded representation of .
Link copied to clipboard
Returns the list of intermediate certificates associated with this certificate needed for chain building.
Link copied to clipboard
Returns the
Certificate
instance for the given X.509 certificate.Returns the
Certificate
instance for the given X.509 certificate and the list of intermediate X.509 certificates associated with this the certificate that may be needed for chain building.Returns the
ClientCertificate
instance for the given certificate
and SSL private key.open fun of(keystoreFilePath: Path, keystorePassword: String, keyStoreType: KeyStoreType): ClientCertificate
Loads a client certificate from the given keystore file with the given password and keystore type.
open fun of(x509Cert: X509Certificate, privateKey: SslPrivateKey, intermediateX509Certs: List<X509Certificate>): ClientCertificate
Returns the
ClientCertificate
instance for the given certificate
, SSL private key, and intermediate certificates.Link copied to clipboard
Returns the SSL private key of this client certificate.
Link copied to clipboard
Returns an
Optional
that contains an X.